package com.chixing.service;

import com.chixing.entity.Coupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liwenjing
 * @since 2025-10-07
 */
public interface ICouponService extends IService<Coupon> {
    boolean receiveCoupon(Integer userId, Coupon coupon);
    //（1有效/0无效/2退回可用）
    public Result getByStatus(Integer userId, Integer couponStatus);
    public Result getById(Integer id);
}
